home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 41.zip / BS1 part 41 / Devpac 2.12 disk 2.adf / include.cbm / libraries / configvars.i < prev    next >
Text File  |  1987-03-31  |  2KB  |  62 lines

  1.  
  2. **** configvars.i *********************************************************
  3. *
  4. *  software structures for configuration subsystem
  5. *
  6. * Copyright (C) 1985,  Commodore-Amiga, Inc., All rights reserved.
  7. *
  8. * $Header: configvars.i,v 33.2 86/04/25 03:58:09 neil Exp $
  9. *
  10. * $Locker:  $
  11. *
  12. * $Log: configvars.i,v $
  13. * Revision 33.2  86/04/25  03:58:09  neil
  14. * added cb_ToolTypes
  15. * Revision 33.1  86/04/03  19:14:04  neil
  16. * *** empty log message ***
  17. *
  18. ****************************************************************************
  19.  
  20.         IFND    LIBRARIES_CONFIGVARS_I
  21. LIBRARIES_CONFIGVARS_I  SET     1
  22.  
  23.         IFND    EXEC_NODES_I
  24.         INCLUDE "exec/nodes.i"
  25.         ENDC    !EXEC_NODES_I
  26.  
  27.         IFND    LIBRARIES_CONFIGREGS_I
  28.         INCLUDE "libraries/configregs.i"
  29.         ENDC    !LIBRARIES_CONFIGREGS_I
  30.  
  31.  
  32.  STRUCTURE ConfigDev,0
  33.     STRUCT      cd_Node,LN_SIZE
  34.     UBYTE       cd_Flags
  35.     UBYTE       cd_Pad
  36.     STRUCT      cd_Rom,ExpansionRom_SIZEOF ; copy of boards config rom
  37.     APTR        cd_BoardAddr    ; where in memory the board is
  38.     APTR        cd_BoardSize    ; size in bytes
  39.     UWORD       cd_SlotAddr     ; which slot number
  40.     UWORD       cd_SlotSize     ; number of slots the board takes
  41.     APTR        cd_Driver       ; pointer to node of driver
  42.     APTR        cd_NextCD       ; linked list of drivers to config
  43.     STRUCT      cd_Unused,4*4   ; for whatever the driver whats
  44.     LABEL       ConfigDev_SIZEOF
  45.  
  46. ; cd_Flags
  47.         BITDEF  CD,SHUTUP,0     ; this board has been shut up
  48.         BITDEF  CD,CONFIGME,1   ; this board needs a driver to claim it
  49.  
  50. ; this structure is used by GetCurrentBinding() and SetCurrentBinding()
  51.  STRUCTURE CurrentBinding,0
  52.     APTR        cb_ConfigDev
  53.     APTR        cb_FileName
  54.     APTR        cb_ProductString
  55.     APTR        cb_ToolTypes
  56.     LABEL       CurrentBinding_SIZEOF
  57.  
  58.  
  59.         ENDC    !LIBRARIES_CONFIGVARS_I
  60.